POV-Ray : Newsgroups : povray.general : difference on a object steals reflection : Re: difference on a object steals reflection Server Time
20 Nov 2024 06:21:02 EST (-0500)
  Re: difference on a object steals reflection  
From: marabou
Date: 23 Oct 2001 17:01:23
Message: <3bd5daa3@news.povray.org>
you really hit! that was my question. 
i am a new.. so i did not see it. 
thank you!

----------------------------------

Philippe Debar wrote:

> 
> "marabou" <not### [at] availableyet> wrote in message
> news:3bd5d52c@news.povray.org...
>> hello all!
>>
>> i searched most of the postings but found no answer to that question:
>> if i make a difference on an object then the area under the differenced
>> object is black and has no reflection.
>> what or where do i have to look for?
>>
>> thanks.
>>
> 
> if your code looks like this (this is pseudocode, it won't run) :
> 
> difference {
>   object { // could be any object : box, sphere, csg, even "object"
>     texture { pigment{color Gray50} finish{reflection .25}}
>   }
>   object { // could be any object : box, sphere, ....
>   }
> }
> 
> then only the object you substract from is textured and object you
> substract with is the default black texture (with no reflection). Move the
> texture towards the end of the difference, outside the objects, like this
> :
> 
> difference {
>   object { // could be any object : box, sphere, ....
>   }
>   object { // could be any object : box, sphere, ....
>   }
>   texture { pigment{color Gray50} finish{reflection .25}}
> }
> 
> 
> 
> Of course, without seeing your code, it might be anything else.
> 
> 
> 
> Povingly,
> 
> Philippe


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.